What to do with many almost-same if-statements

welcome to shbcf.ru